package kd.hisAlarmConsumerRibbon.configuration;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author：双
 * @time: 2020-02-16 15:03
 * @description:
 * @params: $
 * @return:$
 **/
@Configuration
public class config {
	@Bean
	@LoadBalanced
	RestTemplate restTemplate(){
		return new RestTemplate();
	}
	
}
